package com.sf.service;

import com.sf.domain.Department;
import com.sf.domain.Employee;
import com.sf.qo.EmployeeQueryObject;
import com.sf.qo.QueryObject;
import com.sf.utils.PageResult;

import java.util.List;

public interface IEmployee {
    Employee Login(Employee employee);
    PageResult<Employee> query(EmployeeQueryObject qo);
    void deleteByPrimaryKey(Long id);
    void insert(Employee employee);
    void updateByPrimaryKey(Employee employee);
    Employee selectByPrimaryKey(Long id);
    List<Employee> selectAll();

    Employee get(Long id);

    void save(Employee employee1);

    void update(Employee employee1);

}
